package com.serialize.domain;

import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by buguniao on 15/12/14.
 */
public class Response implements Serializable {
    private String method;
    private Object rs;

    public Response(String method,Object rs){
        this.method=method;
        this.rs=rs;
    }
    public String toString(){
        return JSONObject.toJSONString(this,true);

    }
    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Object getRs() {
        return rs;
    }

    public void setRs(Object rs) {
        this.rs = rs;
    }
}
